import axios from './axios'

//车辆识别导出
export function getInoutRecordExport(params) {
    const url = '/ms/api/car/inout/record/export'
    return axios.get(url, params)
}

//车辆统计
export function getCarInoutRecordStatistical(params) {
    const url = '/ms/api/car/inout/record/statistical'
    return axios.get(url, params)
}

//车辆识别
export function getCarInoutRecordList(params) {
    const url = '/ms/api/car/inout/record/list'
    return axios.get(url, params)
}

// 冲洗设备列表
export function getWashMachList(params) {
    const url = '/ms/api/carWashDevice/list'
    return axios.get(url, params)
}

//添加冲洗设备
export function addWashMach(params) {
    const url = '/ms/api/carWashDevice/add'
    return axios.post(url, params)
}

//编辑冲洗设备
export function editWashMach(params) {
    const url = '/ms/api/carWashDevice/edit'
    return axios.post(url, params)
}

// 删除冲洗设备
export function delWashMach(params) {
    const url = '/ms/api/carWashDevice/del/'
    return axios.post(url + params)
}

// 冲洗记录
export function getWashRecord(params) {
    const url = '/ms/api/carWashData/list'
    return axios.get(url, params)
}
